{#登录页面#}
{{ header }}
<div id="account-login" class="container">
  {#<ul class="breadcrumb">#}
    {#{% for breadcrumb in breadcrumbs %}#}
    {#<li><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li>#}
    {#{% endfor %}#}
  {#</ul>#}
  {% if success %}
  <div class="alert alert-success alert-dismissible"><i class="fa fa-check-circle"></i> {{ success }}</div>
  {% endif %}
  {% if error_warning %}
  <div class="alert alert-danger alert-dismissible"><i class="fa fa-exclamation-circle"></i> {{ error_warning }}</div>
  {% endif %}
  <div class="row">
      {#{{ column_left }}#}
    {#{% if column_left and column_right %}#}
    {#{% set class = 'col-sm-6' %}#}
    {#{% elseif column_left or column_right %}#}
    {#{% set class = 'col-sm-9' %}#}
    {#{% else %}#}
    {#{% set class = 'col-sm-12' %}#}
    {#{% endif %}#}
    <div id="content" class="col-sm-12">{{ content_top }}
      <div class="row">
          {#登录#}
        <div class="col-md-6 col-sm-12 login-block" style="border-left: 1px solid #ccc;">
          <h2>{{ text_returning_customer }}</h2>
            {#<p><strong>{{ text_i_am_returning_customer }}</strong></p>#}
          <p class="login-text">{{ text_i_am_returning_customer }}</p>
          <form action="{{ action }}" method="post" enctype="multipart/form-data">
            <div class="form-group">
                {#<label class="control-label" for="input-email">{{ entry_email }}</label>#}
              <input type="text" name="email" value="{{ email }}" placeholder="{{ entry_email }}" id="input-email" class="form-control" />
            </div>
            <div class="form-group">
                {#<label class="control-label" for="input-password">{{ entry_password }}</label>#}
              <input type="password" name="password" value="{{ password }}" placeholder="{{ entry_password }}" id="input-password" class="form-control" />
              <a class="forgot" href="{{ forgotten }}">{{ text_forgotten }}</a></div>
            <input type="submit" value="{{ button_login }}" class="login-btn" />
              {% if redirect %}
                <input type="hidden" name="redirect" value="{{ redirect }}" />
              {% endif %}
          </form>
        </div>
        {#注册#}
        <div class="col-md-6 col-sm-12 login-block">
          <h2>{{ text_new_customer }}</h2>
          {#<p><strong>{{ text_register }}</strong></p>#}
          <p class="login-text">{{ text_register_account }}</p>
          <a href="{{ register }}" class="login-btn">{{ button_continue }}</a>
        </div>
      </div>
      {{ content_bottom }}
    </div>
    {#{{ column_right }}#}
  </div>
</div>
{{ footer }}